package io.gitee.zhangbinhub.admin.base


import io.swagger.annotations.ApiModelProperty

abstract class BaseTreeEntity<T : BaseTreeEntity<T>>(
    @ApiModelProperty(name = "上级ID")
    var parentId: String = "",
    @ApiModelProperty(name = "子列表")
    var children: MutableList<T> = mutableListOf()
)